<%include("/common/list-top.html",
{title:"公司管理",css:[ctxPath +
"/css/system-manage.css",ctxPath+"/css/zjcss.css"]}){} %>

<div class="container-fluid">
    <div class="page-head-nav">
        <div class="row">
            <div class="col-xs-11">
                <ol class="breadcrumb">
                    <li><a href="${ctxPath}"><i class="icon icon-home"></i>工作台</a></li>
					<li>系统管理</li>
					<li><a href="${ctxPath}/company">公司管理</a></li>
				</ol>
			</div>
	<div class="col-xs-1">
		<a class="btn btn-link"  type="button" id="add">新增</a>
	</div>
        </div>
    </div>

<div class="row">
	<div class="col-xs-12" id="mainUI">
		<div class="row listui">
			<div class="col-xs-12 ">
				<div class="query">
					<div class="row">
						<div class="col-xs-12">
							<div class="col-xs-1">
								<label for="company_name">公司名称</label>
							</div>
							<div class="col-xs-2">
								<input type="text" class="form-control" id="company_name"
									placeholder="公司名称">
							</div>
							<div class="col-xs-1">
								<label for="contact_people">联系人</label>
							</div>
							<div class="col-xs-2">
								<input type="text" class="form-control" id="contact_people"
									placeholder="联系人">
							</div>
							<div class="col-xs-1">
								<label for="contact_number">联系电话</label>
							</div>
							<div class="col-xs-2">
								<input type="text" class="form-control" id="contact_number"
									placeholder="联系电话">
							</div>
							<div class="col-xs-2">
								<button type="submit" class="btn btn-primary btn-query">
									<i class="icon-search"></i> 搜索
								</button>
							</div>
						</div>
					</div>
				</div>
				<div class="clearfix"></div>
				<div class="mainUI">
					<#listTable url="${ctxPath}/company"
						fields="company_name,公司名称,sort,query|company_code,公司编码,no-sort,no-query|contact_people,联系人,sort,query|contact_number,联系电话,sort,query|create_time,创建时间,sort,no-query" />
				</div>
			</div>
		</div>
	</div>
</div>


<div class="modal fade" id="addModal" tabindex="-1" role="dialog">
	<div class="modal-dialog ">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal">
					<span aria-hidden="true">×</span><span class="sr-only">关闭</span>
				</button>
				<h4 class="modal-title">公司管理</h4>
			</div>
			<div class="modal-body">

				<form method="post" id="companyForm">
					<input type="hidden" name="id" id="id">
					<div class="row">
						<div class="col-xs-3">
							<label for="companyName">公司名称</label><span class="color_red">
								*</span>
						</div>
						<div class="col-xs-8">
							<input type="text" class="form-control" name="companyName"
								id="companyName" placeholder="请输入公司名称">
						</div>
					</div>
					<div style="height: 10px;"></div>

					<div class="row">
						<div class="col-xs-3">
							<label for="companyCode">公司编码</label><span class="color_red">
								*</span>
						</div>
						<div class="col-xs-8">
							<input type="text" class="form-control" name="companyCode"
								id="companyCode" placeholder="请输入公司编码">
						</div>
					</div>
					<div style="height: 10px;"></div>
					<div class="row">
						<div class="col-xs-3">
							<label for="adminAccount">管理员账号</label><span class="color_red">
								*</span>
						</div>
						<div class="col-xs-8">
							<input type="text" class="form-control" name="adminAccount"
								id="adminAccount" placeholder="请输入管理员账号">
						</div>
					</div>
					<div style="height: 10px;"></div>
					<div class="row">
						<div class="col-xs-3">
							<label for="contactPeople">联系人</label><span class="color_red">
								*</span>
						</div>
						<div class="col-xs-8">
							<input type="text" class="form-control" name="contactPeople"
								id="contactPeople" placeholder="请输入联系人">
						</div>
					</div>
					<div style="height: 10px;"></div>
					<div class="row">
						<div class="col-xs-3">
							<label for="contactNumber">联系电话</label><span class="color_red">
								*</span>
						</div>
						<div class="col-xs-8">
							<input type="text" class="form-control number" name="contactNumber"
								id="contactNumber" placeholder="请输入联系电话">
						</div>
					</div>

				</form>

			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
				<button type="button" id="update" class="btn btn-primary">保存</button>
				<button type="button" id="save" class="btn btn-primary">保存</button>
			</div>
		</div>
	</div>
</div>
</div>

<%include("/common/list-bottom.html",{js:[ ctxPath +
"/js/systemManage/company-list.js",
ctxPath+"/blockui/jquery.blockui.min.js", ctxPath+"/blockui/app.js"]}){}
%>
